package com.situ.user.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.situ.user.bean.GoodsSort;
import com.situ.user.mapper.GoodsSortMapper;
import com.situ.user.service.GoodsSortService;

@Service
public class GoodsSortServiceImpl implements GoodsSortService {

	@Autowired
	private GoodsSortMapper goodsSortMapper;

	@Override
	public List getParent() {
		GoodsSort goodsSort = new GoodsSort();
		goodsSort.setStatus(0);// 只查询正常的
		return goodsSortMapper.select(goodsSort);
	}

}
